/*
 * Copyright (c) 2010-2021 Contributors to the Eclipse Foundation
 * 
 * See the NOTICE file(s) distributed with this work for additional
 * information regarding copyright ownership.
 * 
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License 2.0 which is available at
 * http://www.eclipse.org/legal/epl-2.0
 * 
 * SPDX-License-Identifier: EPL-2.0
 */

/*header, body, scroller*/
/*common*/
.oneui .gridx {
	border: none;
}

.oneui .gridxHeader, .oneui .gridxFooter {
	background: none;
}

.oneui .gridx .dijitButton .dijitButtonNode {
	min-width: 0px;
}

.oneui .gridxGotoPage .gridxGotoPageInputBox .dijitTextBox {
	width: 70px;
}

/*Header*/
.oneui .gridxHeaderRow {
	overflow: hidden;
	border: 1px solid #ccc;
	clear: both;

	background: #ededed; /* Old browsers */
	background: -moz-linear-gradient(top,  #ffffff 0%, #ededed 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#ededed)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #ffffff 0%,#ededed 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #ffffff 0%,#ededed 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #ffffff 0%,#ededed 100%); /* IE10+ */
	background: linear-gradient(top,  #ffffff 0%,#ededed 100%); /* W3C */
/*    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ededed',GradientType=0 ); |+ IE6-9 +|*/
}

.oneui .gridxHeaderRowInner {
	background: none;
	border-color: transparent;
	border-width: 0 2px 0 0;
}

/*.oneui .gridxHeaderRowInner table {*/
/*    border-collapse: collapse;*/
/*}*/

/*.oneui .gridxHeaderRowInner table tr:last-child {*/
/*    border: none;*/
/*}*/

.oneui .gridxHeaderRow .gridxCell {
	border-top: none;
	border-bottom: none;
	border-right: 1px solid #ccc;
	padding: 13px 7px;
	font-weight: bold;
/*    font-size: 12px;*/
	color: #444;
	vertical-align: top;
	text-shadow: 1px 1px 1px #fff;
/*    filter: dropshadow(color=#fff, offx=1, offy=1);*/
}

.dijit_a11y.oneui .gridxHeaderRow .gridxCell {
	border-top: 1px solid transparent;
	border-bottom: 1px solid transparent;
}

.oneui .gridxHeaderRow .gridxLockedCell {
	background: #ededed; /* Old browsers */
	background: -moz-linear-gradient(top,  #ffffff 0%, #ededed 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#ededed)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #ffffff 0%,#ededed 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #ffffff 0%,#ededed 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #ffffff 0%,#ededed 100%); /* IE10+ */
	background: linear-gradient(top,  #ffffff 0%,#ededed 100%); /* W3C */
/*    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ededed',GradientType=0 ); |+ IE6-9 +|*/
}

.oneui .gridxDesktop .gridxHeaderRow .gridxCell:hover {
	background: #fafafa; /* Old browsers */
	background: -moz-linear-gradient(top,  #fafafa 0%, #dbdbdb 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fafafa), color-stop(100%,#dbdbdb)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #fafafa 0%,#dbdbdb 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #fafafa 0%,#dbdbdb 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #fafafa 0%,#dbdbdb 100%); /* IE10+ */
	background: linear-gradient(top,  #fafafa 0%,#dbdbdb 100%); /* W3C */
/*    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fafafa', endColorstr='#dbdbdb',GradientType=0 ); |+ IE6-9 +|*/
}

.oneui .gridx .gridxHeader .gridxHeaderRow .gridxHeaderRowInner .gridxCell.gridxHeaderCellFocus {
	border-top: none;
	border-bottom: none;
	border-left: 1px solid transparent;
	border-right: 1px solid #ccc;
	outline: none;

	background: #fafafa; /* Old browsers */
	background: -moz-linear-gradient(top,  #fafafa 0%, #dbdbdb 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fafafa), color-stop(100%,#dbdbdb)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #fafafa 0%,#dbdbdb 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #fafafa 0%,#dbdbdb 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #fafafa 0%,#dbdbdb 100%); /* IE10+ */
	background: linear-gradient(top,  #fafafa 0%,#dbdbdb 100%); /* W3C */
/*    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fafafa', endColorstr='#dbdbdb',GradientType=0 ); |+ IE6-9 +|*/
}

.dijit_a11y.oneui .gridxHeader .gridxHeaderRow .gridxHeaderCellFocus {
	border: 1px dashed darkblue;
}

/*RowHeader*/
.oneui .gridxRowHeaderCell {
	border-bottom: 1px solid transparent;
	border-top: 1px solid #d9d9d9;
}
.oneui .gridxRowHeaderRow:first-child .gridxRowHeaderCell {
	border-top-color: transparent;
}
.oneui .gridxRowHeaderHeader {
	border-right-color: #d9d9d9;
}

.oneui .gridxRowHeaderHeader,
.oneui .gridxRowHeaderRow {
	background: #ededed; /* Old browsers */
	background: -moz-linear-gradient(top,  #ffffff 0%, #ededed 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#ededed)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #ffffff 0%,#ededed 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #ffffff 0%,#ededed 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #ffffff 0%,#ededed 100%); /* IE10+ */
	background: linear-gradient(top,  #ffffff 0%,#ededed 100%); /* W3C */
/*    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ededed',GradientType=0 ); |+ IE6-9 +|*/
}

.oneui .gridxRowHeaderBody {
	border-left: 1px solid #d9d9d9;
	border-right-width: 0px;
}
.oneui .gridxRowHeaderBody .gridxRowOver {
	background: #fafafa; /* Old browsers */
	background: -moz-linear-gradient(top,  #fafafa 0%, #dbdbdb 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fafafa), color-stop(100%,#dbdbdb)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #fafafa 0%,#dbdbdb 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #fafafa 0%,#dbdbdb 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #fafafa 0%,#dbdbdb 100%); /* IE10+ */
	background: linear-gradient(top,  #fafafa 0%,#dbdbdb 100%); /* W3C */
/*    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fafafa', endColorstr='#dbdbdb',GradientType=0 ); |+ IE6-9 +|*/
}

/*Body*/
.oneui .gridxRow {
	background: none;
}

.oneui .gridxMain {
	border-left: 1px solid #d9d9d9;
	border-right: 1px solid #d9d9d9;
}

.oneui .gridxVScroller {
	border-right: 1px solid #d9d9d9;
}

.oneui .gridxMain .gridxBody {
/*    border-right: 1px solid #d9d9d9;*/
}

.oneui .gridxMain .gridxBodyEmpty{
	background-color: white;
}

.oneui .gridxRow .gridxRowTable {
	background-color: #ffffff;
	border-left: none;
}

.oneui .gridxRow .gridxCell {
	padding: 10px 7px;
	border-width: 1px;
	border-color: #d9d9d9 #d9d9d9 transparent transparent;
	font-style: Arial;
/*    font-size: 12px;*/
	color: #333;
/*    background: none;*/
	vertical-align: top;
}

.oneui .gridxRow:first-child .gridxCell {
	border-top-color: transparent;
}
.oneui .gridxRow:last-child .gridxCell {
	border-bottom-color: #d9d9d9;
}
.dj_ie .oneui .gridxLastRow .gridxCell {
	border-bottom-color: #d9d9d9;
}

.dj_webkit .oneui .gridx .gridxRow:first-child .gridxCellFocus,
.dj_ie7 .oneui .gridx .gridxRow:first-child .gridxCellFocus {
	border-top-color: darkblue;
}

.dj_ie .oneui .gridxRow .gridxCellFocus {
	border-bottom: 1px dashed darkblue;
}

.oneui .gridxAlternatingRows .gridxRowOdd .gridxRowTable {
	background-color: #f7f7f7;
}

.oneui .gridx .gridxBodyRowHoverEffect .gridxRowOver .gridxCell {
	border-top-color: #bbbbbb;
}
.oneui .gridx .gridxBodyRowHoverEffect .gridxRowOver:first-child .gridxCell {
	border-top-color: transparent;
}

/*
 * Set the RowHover style to each of the gridxCells not the whole gridRowTable
 * .oneui .gridx .gridxBodyRowHoverEffect .gridxRowOver .gridxRowTable*/ 
.oneui .gridx .gridxBodyRowHoverEffect .gridxRowOver .gridxRowTable .gridxCell{
	background-color: #cce8f2;
}

.oneui .gridx .gridxBodyRowHoverEffect .gridxRowOver + .gridxRow .gridxCell {
	border-top-color: #bbb;
}

.oneui .gridxAlternatingRows .gridxBody .gridxRow .gridxCell {
	border-top-color: #ffffff;
}
.oneui .gridxAlternatingRows .gridxBodyRowHoverEffect .gridxRowOver + .gridxRow .gridxCell {
	border-top-color: #ffffff;
}

/*.oneui .gridx .gridxRow .gridxRowTable,*/
/*.oneui .gridxBodyRowHoverEffect .gridxRowOver .gridxRowTable {*/
/*    transition-property: background-color;*/
/*    -webkit-transition-property: background-color;*/
/*    -moz-transition-property: background-color;*/
/*    -o-transition-property: background-color;*/
/*    transition-duration: 0.3s;*/
/*    -webkit-transition-duration: 0.3s;*/
/*    -moz-transition-duration: 0.3s;*/
/*    -o-transition-duration: 0.3s;*/
/*}*/

/* WholeRow -- No Column Borders */
.oneui .gridxWholeRow .gridxBody .gridxRow .gridxCell {
	border-left-color: transparent;
	border-right-color: transparent;
}

/*HScroller*/
.oneui .gridxHScroller{
	border-style: solid;
	border-color: #d9d9d9;
	border-width: 0 1px 1px 1px;
}

/* compact */
.oneui .compact .gridxHeaderRow .gridxCell {
	padding: 10px 7px;
	font-size: 11px;
}

.oneui .compact .gridxBody .gridxCell {
	padding: 7px;
	font-size: 11px;
}

/* Full Page */
.oneui .gridxFullPage .gridxHeader .gridxHeaderRow {
	border-top-color: #dadada;
	border-bottom: 1px solid #ccc;
}

.oneui .gridxFullPage .gridxHeader .gridxHeaderRow,
.oneui .gridxFullPage .gridxMain,
.oneui .gridxFullPage .gridxHeader .gridxHeaderRow .gridxCell,
.oneui .gridxFullPage .gridxBody .gridxRow .gridxCell {
	border-left-color: transparent;
	border-right-color: transparent;
}

.dj_ie .oneui .gridxLastRow .gridxCell {
	border-bottom-color: #d9d9d9;
}

.oneui .gridxBodyLastRow .gridxCell {
	border-bottom-color: #d9d9d9;
}

/* mobile tree grid */
.oneui .gridxLayerContext {
	border-left: 1px solid #d9d9d9;
	border-right: 1px solid #d9d9d9;
}
.oneui .gridxFullPage .gridxLayerContext {
	border: none;
}
.oneui .gridxLayerWrapper .gridxRow .gridxCell {
	background-color: #f7f7f7;
}
.oneui .gridxWholeRow .gridxLayerWrapper .gridxRow .gridxCell {
	border-left-color: transparent;
	border-right-color: transparent;
}
.oneui .gridxLayerVSlide {
	border-top: 1px solid #d9d9d9;
}
